package com.hlmc.dao;

import com.hlmc.entity.Zy2;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component("zy2Dao")
public interface Zy2Dao {

    int AddZy2(Zy2 dt);

    List<Zy2>findZy2(Map<String,String>map);

    Zy2 findZy2ByImg(String image);

    List<Zy2> findZy2ByCategory(Map<String,Object>map);

    int findTotalNum(String category);

}
